#ifndef UAV_TEXTURE_H
#define UAV_TEXTURE_H

#include "ITexture_image.h"
#include <QString>
#include <QVector>

class Uav_texture :  public ITexture_image
{
public:
    Uav_texture(const QString &colour);
    ~Uav_texture();
    void make_texture();
    uchar *get_texture(int size);
    inline bool is_created() const {return _is_created;}

private:
    void make_mipmap(int _width, int _height, void *_texture);

private:
    bool _is_created; // if the texture is created
    QVector<int> _colour; // the colour of the texture
};

#endif // UAV_TEXTURE_H
